package com.hzit.service;

import com.hzit.entity.PageResult;
import com.hzit.entity.Specification;
import com.hzit.entity.group.SpecGroup;
import com.hzit.vo.SpecificationVo;

import java.util.ArrayList;
import java.util.List;

public interface SpecificationService {
	List<Specification> findAll();

	PageResult<Specification> findByPage(Integer page, Integer pageSize);

	PageResult<Specification> search(Integer page, Integer pageSize, SpecificationVo vo);

	SpecGroup findById(Long id);

	void add(SpecGroup group);

	void update(SpecGroup group);

	void delete(Long[] ids);
}
